package web

import "gddgame.cc/galaxy/utils/def"

var (
	AuthException   = def.GenerateException(401, "AUTH_ERROR", true)
	ValidException  = def.GenerateException(402, "VALID_ERROR", true)
	EmptyException  = def.GenerateException(403, "EMPTY_ERROR", true)
	SystemException = def.GenerateException(500, "SYSTEM_ERROR", false)

	AuthExceptionDetail   = def.GenerateExceptionDetail(401, "AUTH_ERROR", true)
	ValidExceptionDetail  = def.GenerateExceptionDetail(402, "VALID_ERROR", true)
	EmptyExceptionDetail  = def.GenerateExceptionDetail(403, "EMPTY_ERROR", true)
	SystemExceptionDetail = def.GenerateExceptionDetail(500, "SYSTEM_ERROR", false)
)
